#ifndef PINYIN_H_
#define PINYIN_H_

#ifdef __cplusplus
extern "C" {
#endif

int binCollFuncUtf8(void *padFlag, int nKey1, const void *pKey1, int nKey2, const void *pKey2);

int pinyin_charcmp(unsigned short wch1, unsigned short wch2);
int pinyin_strncmp(const unsigned short *str1, const unsigned short *str2, unsigned long length);
int pinyin_strcmp(const unsigned short *str1, const unsigned short *str2);
int pinyin_strncmp_utf8(const void *str1, const void *str2);
int pinyin_charcasecmp(unsigned short wch1, unsigned short wch2);
int pinyin_strncasecmp(const unsigned short *str1, const unsigned short *str2, unsigned long length);
int pinyin_strcasecmp(const unsigned short *str1, const unsigned short *str2);

#ifdef __cplusplus
}
#endif
#endif /* PINYIN_H_ */
